﻿Namespace SchoolClick.Database

    <MetadataType(GetType(MatriculaSolicitudesMetaData))> _
    Partial Public Class MATRICULA_SOLICITUDES

    End Class

    Friend Class MatriculaSolicitudesMetaData
        <JFTipoField(JFControlType.ComboBox)> _
        <Display(Name:="Grado y especialidad al cual aplicará")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ID_GRADO_APLICA As Object

        <Display(Name:="Nombres")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.OnlyLetrasWithSpace, ErrorMessageResourceName:="Error_OnlyLetras_with_Space", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property NOMBRES As Object

        <Display(Name:="Apellidos")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.RequiredTwoApellidos, ErrorMessageResourceName:="Error_Required_TwoApellidos", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property APELLIDOS As Object

        <Display(Name:="Género")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <JFContieneAttribute("M", "F", ErrorMessageResourceName:="Error_Values_Genero", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property GENERO As Object

        <Display(Name:="NIE")> _
        <Remote("_validateNIE", "Matricula")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.OnlyEnteros, ErrorMessageResourceName:="Error_OnlyEnteros", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property NIE As Object

        <Display(Name:="DUI (Si posee)")> _
        <RegularExpression(JFRegExpValidators.DUI, ErrorMessageResourceName:="Error_DUI", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property DUI As Object

        <Display(Name:="País de nacimiento")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ID_PAIS As Object

        <JFTipoField(JFControlType.Fecha)> _
        <Display(Name:="Fecha de nacimiento")> _
        <DisplayFormat(DataFormatString:="dd/MM/yyyy")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property FECHA_NACIMIENTO As Object

        <Display(Name:="Estudió parvularia")> _
        <JFTipoField(JFControlType.RadioButton)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ESTUDIO_PARVULARIA As Object

        <Display(Name:="C.E. de procedencia")> _
        <JFTipoField(JFControlType.AutocompleteWithCache)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ID_CEDUCATIVO_PROCEDENCIA As Object

        <Display(Name:="Dirección")> _
        <JFTipoField(JFControlType.Multiline)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property DIRECCION_DE_CASA As Object

        <Range(1, 14)> _
        <Display(Name:="Departamento")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property DEPARTAMENTO As Object

        <Display(Name:="Municipio")> _
        <JFTipoField(JFControlType.AutocompleteWithCache)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property MUNICIPIO As Object

        <Display(Name:="Teléfono")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.Telefono, ErrorMessageResourceName:="Error_Telefono", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property TELEFONO As Object

        <Display(Name:="Celular")> _
        <RegularExpression(JFRegExpValidators.Telefono, ErrorMessageResourceName:="Error_Telefono", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property CELULAR As Object

        <Display(Name:="E-Mail")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.Email, ErrorMessageResourceName:="Error_EMail", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property CORREO_ELECTRONICO As Object

        <JFTipoField(JFControlType.Numeric)> _
        <Display(Name:="No. de miembros que viven con usted")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <Range(1, 20, ErrorMessageResourceName:="Error_Range_MiembrosFam", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property MIEMBROS_FAMILIA As Object

        <JFTipoField(JFControlType.RadioButton)> _
        <Display(Name:="Actualmente, ¿Esta trabajando?")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property TRABAJA As Object

        <Display(Name:="¿Tiene hijos?")> _
        <JFTipoField(JFControlType.RadioButton)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property TIENE_HIJOS As Object

        <Display(Name:="Enfermedades")> _
        <JFTipoField(JFControlType.Multiline)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ENFERM_PADECE As Object

        <Display(Name:="Medicamento")> _
        <JFTipoField(JFControlType.Multiline)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property MEDICAMENTO_PERMANENTE As Object

        <Display(Name:="Último grado cursado")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ANIO_ANTERIOR As Object

        <Display(Name:="Zona geográfica")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property UBICACION_GEOGRAFICA As Object

        <Display(Name:="Vive con")> _
        <JFTipoField(JFControlType.ComboBox)> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property VIVE_CON As Object

        <Display(Name:="¿En qué año lo cursó?")> _
        <Required(ErrorMessageResourceName:="Error_Field_Required", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        <RegularExpression(JFRegExpValidators.Year, ErrorMessageResourceName:="Error_Año", ErrorMessageResourceType:=GetType(JertiFramework.My.Resources.JFLibraryErrors))> _
        Property ANIO_CURSO_UG As Object

        'Campos que no se utilizan para validar o modificar
        Property ID_SOLICITUD As Object
        Property PMATRICULA_SOLICITUD As Object
        Property FECHA_SOLICITUD As Object
        Property IS_PRESELECCIONADO As Object
    End Class
End Namespace
